package com.t168.appinfo.service.background.appversion.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.t168.appinfo.dao.background.appversion.BgAppVersionMapper;
import com.t168.appinfo.entity.AppVersion;
import com.t168.appinfo.service.background.appversion.BgAppVersionService;

@Service("bgAppVersionService")
public class BgAppVersionServiceImpl implements BgAppVersionService {

	@Resource(name = "bgAppVersionMapper")
	private BgAppVersionMapper bgAppVersionMapper;
	
	public BgAppVersionMapper getBgAppVersionMapper() {
		return bgAppVersionMapper;
	}

	public void setBgAppVersionService(BgAppVersionMapper bgAppVersionMapper) {
		this.bgAppVersionMapper = bgAppVersionMapper;
	}




	@Override
	public AppVersion getAppInfoNewVersion(int appId) {
		// TODO Auto-generated method stub
		return bgAppVersionMapper.getAppInfoNewVersion(appId);
	}

}
